package com.oop.example.processing;

import com.oop.example.work.bel.NoSuchParserException;
import com.oop.example.work.bel.ParseError;
import com.oop.example.work.bel.PrepareError;
import com.oop.example.data.EntryPOJO;
import com.oop.example.xml.Entry;
import java.util.List;

public abstract class Handler {

    private EntryPOJO entryPojo;

    public EntryPOJO getEntryPOJO() {
        return entryPojo;
    }

    public void setEntryPOJO(EntryPOJO entry) {
        this.entryPojo = entry;
    }

    public abstract void handle() throws ParseError, PrepareError, NoSuchParserException;

    public abstract List<Entry> getChildEntrys();

    public abstract Entry getEntry();
}
